package com.dxt.springmvcdemo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * BelongProject: springMVC
 * BelongPackage: com.dxt.springmvcdemo.pojo
 * Description:
 *
 * @Author 段鑫涛
 * @Create 2025/4/14 19:04
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ConfigurationProperties(prefix = "user")
public class User {
    private String name;
    private Integer age;
}
